/**
 * 部门相关类型定义
 */
export interface Department {
  id: string
  name: string
  parent_id?: string
  manager_id?: string
  manager_name?: string
  order: number
  description?: string
  children?: Department[]
  user_count?: number
  created_at?: string
  updated_at?: string
}

export interface DepartmentCreate {
  name: string
  parent_id?: string
  manager_id?: string
  order?: number
  description?: string
}

export interface DepartmentUpdate {
  name?: string
  parent_id?: string
  manager_id?: string
  order?: number
  description?: string
}

